package com.education.service.impl;

import com.education.domain.Tbcourse;
import com.education.domain.TbcourseExample;
import com.education.domain.TbgradeExample;
import com.education.mapper.TbcourseMapper;
import com.education.service.CourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by zhangjiawen on 2019/11/22.
 */
@Service
public class CourseServiceImpl implements CourseService {
    @Autowired
    private TbcourseMapper tbcourseMapper;
    @Override
    public List<Tbcourse> getAll() {

        return tbcourseMapper.selectByExample(new TbcourseExample());
    }

    @Override
    public List<Tbcourse> getByCondition(Tbcourse tbcourse) {
        return null;
    }
}
